<?php
/**
 * <https://y.st./>
 * Copyright © 2019 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'I literally cried.',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2019/05/01.jpg" alt="Medical office suite" class="framed-centred-image" width="800" height="480"/>
<section id="diet">
	<h2>Dietary intake</h2>
	<p>
		I guess I didn&apos;t eat great today, either.
		I had a total of 1085 grams of the stew I mentioned in a past entry, 460 grams of pretzels, and 887 grams of mixed juice.
	</p>
</section>
<section id="battery">
	<h2>Mobile battery</h2>
	<p>
		I checked with the battery shop, and they said they carry mobile batteries, but they&apos;re about \$40 $a[USD] in price.
		I didn&apos;t even ask if they specifically carry batteries for the GT-i9100.
		It doesn&apos;t matter even if they do.
		I saw much better deals for the battery I need online.
	</p>
	<p>
		Actually getting the battery online was much harder than I thought it&apos;d be though.
		One foreign site that I&apos;d bought from before wasn&apos;t allowing me to create an account, saying I already had an account with that email address, but not allowing me to log in either, saying that either my email address or password from last time I used the site was wrong.
		I tried a password reset, but the site claimed there was no account with that email address.
		So I can&apos;t register because that email address is in use by an account but I can&apos;t reset the password because no account is using that email address.
		That makes loads of sense.
		I tried a number of random email addresses too that I know not all of which could have had accounts associated with them, and the site claimed such accounts existed anyway.
		Clearly, the site is broken.
	</p>
	<p>
		Next, I tried an auction site, but I couldn&apos;t get the stupid thing to display prices in the currency of my own country, even though the auction site itself makes its home in my country.
		I wanted to show me a currency based on my $a[IP] address with no way to override that obnoxious behaviour.
		I tried resetting my $a[IP] address, but the site seemed to have latched onto the currency of the country of the first $a[IP] address I&apos;d used (using a cookie) and wouldn&apos;t chance currencies even then.
		It showed me the main prices in my currency, but would only show me the shipping prices in the other currency.
		I couldn&apos;t buy anything because I had no idea how much it cost!
		I finally broke down and reset my cookies, which was annoying to have to do.
		That fixed the issue, and wow, the shipping prices were way higher than they should have been.
		It&apos;s a good thing I wasn&apos;t stupid enough to just buy something not knowing the shipping price.
		I didn&apos;t want to buy from this site out of principle, after the hassle it&apos;d caused me (why doesn&apos;t the site allow you to set what currency to display in!?), but after checking out the alternatives, I ended up buying there anyway.
		The only real alternative in an affordable price range was Amazon, and I&apos;d really rather not support Amazon if I don&apos;t have to.
		I ended up buying one that was twice as expensive as on the first site I tried, just because at least this site would sell to me.
		Still, it was a quarter of the cost of the one at the local store, so it was still a better deal.
	</p>
	<p>
		After finalising the purchase though, I noticed the estimated arrival time.
		It&apos;s going to take over a month to get here.
		That&apos;s a drag.
		I should have looked at the estimated shipping time before finalising the purchase.
	</p>
</section>
<section id="prayer">
	<h2>Prayer impressions log</h2>
	<p>
		I prayed that I was about to read the twelfth chapter of Genesis.
		I prayed that I noticed Lot at the end of the last chapter, and that I thought I recalled that that was important character for something or another.
		At first, I got Lot and Job mixed up.
		I didn&apos;t actually remember any specifics about Lot, but I thought this next chapter was likely about him.
		After praying, I saw the spokes of an upside-down bicycle&apos;s wheel spinning.
	</p>
	<p>
		I prayed about Jesus&apos; misdirected wrath in that chapter.
		In my mind, I saw the ring I was wearing on my left hand.
	</p>
	<p>
		I later prayed that I&apos;d read the thirteenth chapter.
		I said I wondered who the story would follow this time, and what Jesus would do to them.
		Yahweh seems to be the antagonist in this story, and according to the Mormons, Yahweh is Jesus.
		In my mins, I saw a roller being run through wet hair after I prayed.
	</p>
	<p>
		After reading the chapter, I prayed about how uneventful the chapter had been.
		It introduced Sodom and the people there were sinners against Jesus, but didn&apos;t go into any sort of detail.
		In my mind, a saw a wooden door, painted white, with a screen in the top serving as a window.
	</p>
	<p>
		Immediately after recording what I saw after the previous prayer, I prayed again, this time that I&apos;d be reading the fourteenth chapter.
		
		I was in my mind two adults and a child walking down a path.
		On the side of the path past them was a wooden fence.
		On the side toward my viewpoint, there was tall grass that kept me from seeing the path itself, though the people didn&apos;t seem to be traipsing through the grass, so I assume such a path was there.
	</p>
	<p>
		After reading, I prayed that this chapter too had been uneventful.
		I mean, there was a battle and a mass kidnapping, but there was nothing supernatural and no interference by Jesus.
		In my mind, I saw a mosaic, which somehow turned into a Mexican sombrero.
	</p>
	<p>
		I prayed yet again, saying I&apos;d read one more chapter, but then I needed to get back to coursework.
		I saw in my mind strange ports on the side of a laptop.
		They didn&apos;t look like any I&apos;d ever seen before.
	</p>
	<p>
		I prayed that this chapter was weird, but I really didn&apos;t know how to comment on it.
		Abram didn&apos;t believe what Jesus told him in person, so Jesus had him fall into a deep sleep so he could visit hom in a dream to tell him more, instead of telling him more in person.
		In my mind, I saw watermelons and lattice-topped pies.
	</p>
</section>
<section id="laser">
	<h2>Hair removal treatment</h2>
	<p>
		The $a[laser] hair removal treatment hurt a lot worse this time.
		As before, it felt like repeated razor cuts, but this time, somehow worse.
		Like, maybe sort of with an added burning sensation, but not quite?
		My jaw was quivering near the end, and there were literal tears in my eyes.
		It was very painful, and certainly unpleasant.
		I considered asking for a slight break from the $a[laser] for a bit, but decided against it.
		I couldn&apos;t show weakness.
		If I didn&apos;t want to risk the doctor giving me a lighter treatment in an effort to go easy on me, I had to endure.
		It was nothing compared to the emotional pain I&apos;ve felt though, so I just had to keep reminding myself of that to make it through.
	</p>
	<p>
		After the treatment, I learned a couple interesting things.
		In the first treatment, it seems the doctor didn&apos;t use the recommended settings as they&apos;d said they had.
		Either that, or they lied about it today.
		I&apos;m guessing last time was the lie though.
		Anyway, they said this time that they&apos;d actually turned the $a[laser] up a bit from the initial settings the manufacturer tells them to use for new patients, thinking that with my pale skin tone, I could take it, and with my not-so-dark hair colour, it would be more effective.
		Second, they turned the $a[laser] all the way up this time.
		The doctor actually gave me two tennis balls this time, and this might be why.
		I didn&apos;t see a difference last time, and they said that if I don&apos;t see a difference this time, the treatment isn&apos;t likely to be effective at all and I should give up on $a[laser] hair removal.
		They said that if there&apos;s still no change, they&apos;ll try giving me a third treatment gratis just to try to get some sort of result, but after that, we should call it off.
		This time though, I still felt the sting a bit after the treatment, which was mentioned as one of the side effects of treatment.
		Last time, when the $a[laser] was removed, the pain was entirely gone.
		This time, it took a few hours before I noticed no pain.
		I&apos;m hoping to see results this time.
		Not full results of course, as it typically takes six to eight treatments and I&apos;ve only had two, but partial results.
		Apparently, I was supposed to see partial results after even the first treatment.
		I misunderstood the whole hair growing in waves thing, I guess.
		I assumed that when I saw no change, it was because the next wave of hairs might have taken the place of the ones that might have gone away.
		That said, I wasn&apos;t sure what to think when I didn&apos;t notice any shedding, which I was supposed to see.
	</p>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		My discussion posts for the day:
	</p>
	<blockquote>
		<p>
			Thanks for going above and beyond to cover some extra aspects about caching!
			I noticed you listed both static and dynamic pages as things that can be cached.
			This is an important point to cover.
			Intuitively, it seems like dynamic pages wouldn&apos;t be cacheable, and sometimes, they&apos;re not.
			However, it&apos;s often times the case that dynamic pages actually can be cached, and that saves time when it comes time to send the page to the browser, as the page doesn&apos;t need to be recomputed.
		</p>
	</blockquote>
	<blockquote>
		<p>
			The Dining Philosophers Problem is definitely a real-world analogy for a computer science problem, but it certainly isn&apos;t a very realistic one.
			These people are sharing forks?
			They can&apos;t eat and think at the same time?
			They can&apos;t simply ask one another to borrow a fork the other one is holding, resulting in them waiting forever and starving?
			Without the computer science aspects for which this is an analogy for, the entire problem ceases to make any sense whatsoever.
			These philosophers make great stand-ins for threads in a process, but they fail to behave as any actual human would.
			They would fail to pass the Turing Test you mentioned.
		</p>
		<p>
			Your rewrite of the problem though.
			Instead of thinking, you have the philosophers drinking.
			While they should be able to easily think while doing something as trivial as eating, they can&apos;t easily eat and drink at the same time.
			Your rewrite gives them a reason to put the forks down and take a break from eating.
		</p>
	</blockquote>
</section>
END
);
